import { ajax } from "@/utils/request";
import '@/mock/home'

// 商品列表
export function getProList() {
    return ajax({
        url: "/getprolist",
    });
}

// 添加商品
export function getProAdd (data) {
    return ajax({
        url: "/getproadd",
        method: 'post',
        data
    });
}